package com.system.util;

import java.util.ArrayList;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;
import com.system.entity.CollectInfo;

public class CollectListData {
	@JSONField(name="code",ordinal = 1)
	private String code;
	@JSONField(name="getCollectInfoList",ordinal = 2)
	private List<CollectInfo> list = new ArrayList<CollectInfo>();
	
	public CollectListData() {
		super();
	}

	public CollectListData(String code) {
		super();
		this.code = code;
	}

	public CollectListData(String code, List<CollectInfo> list) {
		super();
		this.code = code;
		this.list = list;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public List<CollectInfo> getList() {
		return list;
	}

	public void setList(List<CollectInfo> list) {
		this.list = list;
	}

	@Override
	public String toString() {
		return "CollectListData [code=" + code + ", list=" + list + "]";
	}

}
